package com.shycloud.mido.task.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 任务表
 */
@Data
@TableName(value = "sm_member_task")
public class SmMemberTask implements Serializable {

	/** 主键ID */
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;
	/** 任务标题 */
	@TableField(value = "title")
	private String title;
	/** 备注信息 */
	@TableField(value = "comment")
	private String comment;
	/** 1.VIP  2.积分 3.经验值 4.虚拟币 5.在线课 */
	@TableField(value = "reward_type")
	private String rewardType;
	/** 奖励（VIP为天数，积分为分数，经验值为经验点数） */
	@TableField(value = "reward")
	private Integer reward;
	/** 单位 */
	@TableField(value = "unit")
	private String unit;
	/** 排序 */
	@TableField(value = "sort")
	private Integer sort;
	/** 任务类型（0：永久任务，1：每日任务） */
	@TableField(value = "task_type")
	private String taskType;
	/** 状态（0启用，1禁用） */
	@TableField(value = "status")
	private String status;

	private String isExpand;
	@TableField(value = "expand_1")
	private String expand1;
	@TableField(value = "expand_2")
	private String expand2;
	@TableField(value = "expand_3")
	private String expand3;
	@TableField(value = "expand_4")
	private String expand4;
	/** 任务页面 ID */
	private Integer pageId;
	private String linkType;
	private String link;

	public static final String COL_ID = "id";

	public static final String COL_TITLE = "title";

	public static final String COL_COMMENT = "comment";

	public static final String COL_REWARD_TYPE = "reward_type";

	public static final String COL_REWARD = "reward";

	public static final String COL_UNIT = "unit";

	public static final String COL_SORT = "sort";

	public static final String COL_TASK_TYPE = "task_type";

	public static final String COL_STATUS = "status";
}